export function validFn (info, val) {
	switch (info.type) {
		case 'integer':
			if (val % 1 !== 0) {
				return info.msg
			}
			break
	}
}